package com.ponhu.ea2.goodsCenter.provider.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ponhu.ea2.goodsCenter.provider.config.DBSourceConfig;
import com.ponhu.ea2.query.GoodsDataSyncQuery;
import com.ponhu.ea2.vo.GoodsDataAttributeSyncVo;
import com.ponhu.ea2.vo.GoodsDataStockSyncVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author zhaokai
 */
@Mapper
public interface GoodsDataSyncMapper extends BaseMapper{

    /**
     * 查询胖总管库存和商品属性数据
     * @param goodsDataSyncQuery
     * @return
     */
    List<GoodsDataAttributeSyncVo> selectPhGoodsAttributeData(GoodsDataSyncQuery goodsDataSyncQuery);

    /**
     * 查询胖总管库存状态
     * @param goodsDataSyncQuery
     * @return
     */
    List<GoodsDataStockSyncVo> selectPhGoodsStockData(GoodsDataSyncQuery goodsDataSyncQuery);


}
